<div class="content_box" style="top:10px; left:145px; width:625px">
	<div class="content_box_header">R&eacute;sultats de la recherche</div>
    <div class="content_box_body" style="background-color:#EEE;">
    
    <div style="margin:5px 5px 15px 5px; text-align:right; overflow:hidden;"><?php if($nb_results>0) echo $nb_results.' r&eacute;sultat(s)'; ?></div>	
	
	<?php
    $nb_result = 0;
    foreach($resultats as $praticien){
        ++$nb_result;
    ?>
        <div style="margin:5px 5px 15px 5px; padding:5px; line-height:18px; overflow:hidden; background-color:<?php echo ucfirst($praticien['bg_color']); ?>">
        	<div style="font-weight:bold;">Docteur <?php echo $praticien['prenom'].' '.$praticien['nom'];?></div>
            <div><strong>Sp&eacute;cialit&eacute; :</strong> <?php echo ucfirst($praticien['specialite']); ?></div>
            <div>
            	<div style="float:left; width:150px;"><strong>T&eacute;l&eacute;phone :</strong> <?php echo $praticien['tel']; ?></div>
                <div style="float:left;"><strong>Email :</strong> <a href="mailto:<?php echo $praticien['email']; ?>"><?php echo $praticien['email']; ?></a></div>
            </div>
        </div>
	<?php
    }
    if($nb_result==0){
    ?>
        <div style="text-align:center; font-size:15px; margin:10px;">Aucun pratricien trouv&eacute;.</div>
	<?php
    }
    ?>
        
        <div class="rech_praticien_box" style="margin:50px 0 0 50px;">
        <?php echo form_tag('main/results') ?>
        	<div class="text">Nom</div>
            <div><?php echo input_tag('nom_praticien', $sf_params->get('nom_praticien')) ?></div>
            <div class="text">Pr&eacute;nom</div>
            <div><?php echo input_tag('prenom_praticien', $sf_params->get('prenom_praticien')) ?></div>
            <div class="text">Sp&eacute;cialit&eacute;</div>
            <div style="width:300px;">
            	<select id="specialite" name="specialite">
                	<option></option>
                    <?php foreach($liste_specialites as $specialite){ ?>
                    <option value="<?php echo $specialite->getId();?>"><?php echo ucfirst($specialite->getName());?></option>
                    <?php } ?>
                </select>
            </div>
            <div style="float:right"><input type="submit" name="submit_rech_praticien_form" class="submit_button" style="width:100px; background-color:#AAA; height:25px; color:#000" /></div>
        </form>
        </div>
        
    </div>
</div>